//
//  AmusementViewController.swift
//  CWLiving
//
//  Created by 方正刚 on 2017/7/13.
//  Copyright © 2017年 方正刚. All rights reserved.
//

import UIKit

class AmusementViewController: BaseAnchorViewController {

   fileprivate lazy var amusementVM = AmusementViewModel()
   
}

// MARK: - 加载数据
extension AmusementViewController {
    
    override func loadData() {
        super.loadData()
        
         baseVM = amusementVM
        
        amusementVM.requestAmusementData {
            
         self.collectionView.reloadData()
         self.didLoadData()
            
        }
    }
}






